﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace Ordinaire.Commerce.Db
{
    /// <summary>
    /// Used by other extensions to specify list of tables to create.
    /// </summary>
    public interface IDatabasePart
    {
        /// <summary>
        /// Returns list of tables as array of System.Reflection.FieldInfo to create.
        /// </summary>
        /// <returns>array of System.Reflection.FieldInfo representing list of tables used by the extension</returns>
        FieldInfo[] GetTables();
    }
}
